package com.quanshi.shopping_order_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quanshi.shopping_common.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersMapper extends BaseMapper<Orders> {
    Orders findById(String id);

    List<Orders> findUserOrders(@Param("userId") Long userId,@Param("status") String status);
}
